﻿using System;
using System.Collections.Generic;
using System.Text;

namespace cuyan.orm
{
    public class TableInfo
    {
        /// <summary>
        /// 表目录(数据库名称)
        /// </summary>
        /// <value>
        /// The table catalog.
        /// </value>
        public string TABLE_CATALOG { get; set; }
        /// <summary>
        /// 表架构()
        /// </summary>
        /// <value>
        /// The table schema.
        /// </value>
        public string TABLE_SCHEMA { get; set; }
        /// <summary>
        /// 表名称
        /// </summary>
        /// <value>
        /// The name of the table.
        /// </value>
        public string TABLE_NAME { get; set; }
        /// <summary>
        /// 列名称（字段名）
        /// </summary>
        /// <value>
        /// The name of the column.
        /// </value>
        public string COLUMN_NAME { get; set; }
        /// <summary>
        /// 序数位置
        /// </summary>
        /// <value>
        /// The ordinal position.
        /// </value>
        public string ORDINAL_POSITION { get; set; }


        /// <summary>
        /// 列默认值
        /// </summary>
        /// <value>
        /// The column default.
        /// </value>
        public string COLUMN_DEFAULT { get; set; }

        /// <summary>
        /// 是可为空的吗（是否为空）
        /// </summary>
        /// <value>
        /// The is nullable.
        /// </value>
        public string IS_NULLABLE { get; set; }

        /// <summary>
        /// 数据类型
        /// </summary>
        /// <value>
        /// The type of the data.
        /// </value>
        public string DATA_TYPE { get; set; }

        /// <summary>
        /// 字符最大长度
        /// </summary>
        /// <value>
        /// The table catalog.
        /// </value>
        public string CHARACTER_MAXIMUM_LENGTH { get; set; }
        /// <summary>
        /// 字符八位字节的长度
        /// </summary>
        /// <value>
        /// The length of the character octet.
        /// </value>
        public string CHARACTER_OCTET_LENGTH { get; set; }
        /// <summary>
        /// 数字精度
        /// </summary>
        /// <value>
        /// The numeric precision.
        /// </value>
        public string NUMERIC_PRECISION { get; set; }
        /// <summary>
        /// 数字精度基数
        /// </summary>
        /// <value>
        /// The numeric precision radix.
        /// </value>
        public string NUMERIC_PRECISION_RADIX { get; set; }
        /// <summary>
        /// 数字刻度
        /// </summary>
        /// <value>
        /// The numeric scale.
        /// </value>
        public string NUMERIC_SCALE { get; set; }
        /// <summary>
        /// 日期时间精度
        /// </summary>
        /// <value>
        /// The datetime precision.
        /// </value>
        public string DATETIME_PRECISION { get; set; }
        /// <summary>
        /// 字符集目录
        /// </summary>
        /// <value>
        /// The character set catalog.
        /// </value>
        public string CHARACTER_SET_CATALOG { get; set; }
        /// <summary>
        /// 字符集架构
        /// </summary>
        /// <value>
        /// The character set schema.
        /// </value>
        public string CHARACTER_SET_SCHEMA { get; set; }
        /// <summary>
        /// 字符集的名称
        /// </summary>
        /// <value>
        /// The name of the character set.
        /// </value>
        public string CHARACTER_SET_NAME { get; set; }
        /// <summary>
        /// 排序规则目录
        /// </summary>
        /// <value>
        /// The collation catalog.
        /// </value>
        public string COLLATION_CATALOG { get; set; }
        /// <summary>
        /// 排序规则架构
        /// </summary>
        /// <value>
        /// The collation schema.
        /// </value>
        public string COLLATION_SCHEMA { get; set; }
        /// <summary>
        /// 排序规则的名称
        /// </summary>
        /// <value>
        /// The name of the collation.
        /// </value>
        public string COLLATION_NAME { get; set; }
        /// <summary>
        /// 域目录
        /// </summary>
        /// <value>
        /// The domain catalog.
        /// </value>
        public string DOMAIN_CATALOG { get; set; }
        /// <summary>
        /// 域架构
        /// </summary>
        /// <value>
        /// The domain schema.
        /// </value>
        public string DOMAIN_SCHEMA { get; set; }
        /// <summary>
        /// 域的名称
        /// </summary>
        /// <value>
        /// The name of the domain.
        /// </value>
        public string DOMAIN_NAME { get; set; }
    }
}
